package com.unknow.first.dapp.admin.account.constants;

public enum AccountErrorConstants {


    PAIR_ID_IS_NOT_CORRECT("account.flash.swap.error.PAIR_ID_IS_NOT_CORRECT", "交易队ID不正确"),

    PAIR_IS_EXISTS("account.flash.swap.error.PAIR_IS_EXISTS", "交易队已经存在"),

    PAIR_CHARGE_IS_NULL("account.flash.swap.error.PAIR_CHARGE_IS_NULL", "交易队手续费不能为空"),

    PAIR_PRICE_IS_NULL("account.flash.swap.error.PAIR_PRICE_IS_NULL", "交易队价格不能为空"),

    PAIR_PRICE_IS_LT_ZERO("account.flash.swap.error.PAIR_PRICE_IS_LT_ZERO", "交易队价格必须大于零"),

    PAIR_ID_IS_NOT_EXISTS("account.flash.swap.error.PAIR_IS_NOT_EXISTS", "交易队不存在"),

    SWAP_AMOUNT_IS_NOTIN_LIMIT("account.flash.swap.error.SWAP_AMOUNT_IS_NOTIN_LIMIT", "兑换金额不在范围内"),

    SWAP_DIRECTION_CLOSE("account.flash.swap.error.SWAP_DIRECTION_CLOSE", "兑换方向未开启"),

    PER_DAY_LIMIT("account.flash.swap.error.PER_DAY_LIMIT", "超出兑换限额"), // 触发器中使用


    USER_PER_DAY_LIMIT("account.flash.swap.error.USER_PER_DAY_LIMIT", "超出用户兑换限额"),  // 触发器中使用
    ACCOUNT_DETAIL_INSERT_ERROR ("account.detail.error.ACCOUNT_DETAIL_INSERT_ERROR", "资金记录插入失败"),

    ACCOUNT_BALANCE_UPDATE_ERROR ("account.detail.error.ACCOUNT_BALANCE_UPDATE_ERROR", "用户余额更新错误"),

    ;

    AccountErrorConstants(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public final String code;
    public final String description;

}
